package com.mirana.module.common.model.dictpm;

import com.mirana.frame.base.model.BaseModel;
import com.mirana.frame.db.base.anno.ColumnPlus;
import com.mirana.frame.db.base.anno.Notes;
import com.mirana.frame.db.base.anno.TablePlus;
import lombok.Data;

@Data
@Notes("客户档案表")
@TablePlus(name = "dict_customer")
public class DictCustomer extends BaseModel {

    @Notes("客户名称")
    @ColumnPlus(default_val = "''", length = "20")
    private String customer_name;

    @Notes("客户类别，字典 dict2_customer_level")
    @ColumnPlus(length = "2")
    private int customer_type;

    @Notes("所属行业，字典 dict2_industry")
    @ColumnPlus(length = "2")
    private int industry;

    @Notes("所属类别（一级），area_info")
    @ColumnPlus(length = "10")
    private int province;

    @Notes("所属地市（二级），area_info")
    @ColumnPlus(length = "10")
    private int city;

    @Notes("所属区县（三级），area_info")
    @ColumnPlus(length = "10")
    private int county;

    @Notes("客户详细地址")
    @ColumnPlus(default_val = "''", length = "100")
    private String address;

    @Notes("负责人")
    @ColumnPlus(default_val = "''", length = "20")
    private String charge_name;

    @Notes("负责人电话")
    @ColumnPlus(default_val = "''", length = "20")
    private String charge_mobile;

    @Notes("负责人邮箱")
    @ColumnPlus(default_val = "''", length = "50")
    private String charge_email;

    @Notes("备注")
    @ColumnPlus(default_val = "''", length = "200")
    private String remark;


}
